﻿namespace TestClasses
{
    public class ConcreteClassWithThreeConstructors
    {
        private readonly IInterface1 _iface1;
        private readonly IInterface2 _iface2;

        public ConcreteClassWithThreeConstructors()
        {
        }

        public ConcreteClassWithThreeConstructors(IInterface1 iface1)
        {
            _iface1 = iface1;
        }

        public ConcreteClassWithThreeConstructors(IInterface1 iface1, IInterface2 iface2)
        {
            _iface1 = iface1;
            _iface2 = iface2;
        }

        public IInterface1 MyInterface1
        {
            get { return _iface1; }
        }

        public IInterface2 MyInterface2
        {
            get { return _iface2; }
        }
    }
}
